﻿@using WebEntities;
@using WebsiteUI.Extensions;
@model List<WI_AdvItem>
<div id="play">
    <ul>
       @* <li id="playBg"></li>*@
       @if (Model.Count() > 0)
       {
        <li id="playText"></li>
        <li id="playNum">
            @for (int i = 1; i <= Model.Count(); i++)
            { <a>@i</a>}
        </li>
        <li id="playShow">
            @foreach (WI_AdvItem item in Model)
            {
                <a title="@item.AdvTitle"  target="_blank" href="@item.PicLink">
                    <img alt="@(HtmlWorkshop.CutTitle(item.AdvTitle, 14))" src="@item.PicUrl" />
                </a>
            }
        </li>
       }
    </ul>
</div>
